home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 3 / QRZ Ham Radio Callsign Database - Volume 3.iso / digests / tcp / 930051.txt < prev    next >
Internet Message Format  |  1994-06-04  |  48KB

  1. Date: Tue, 23 Feb 93 04:30:07 PST
  2. From: Advanced Amateur Radio Networking Group <tcp-group@ucsd.edu>
  3. Errors-To: TCP-Group-Errors@UCSD.Edu
  4. Reply-To: TCP-Group@UCSD.Edu
  5. Precedence: Bulk
  6. Subject: TCP-Group Digest V93 #51
  7. To: tcp-group-digest
  8.  
  9.  
  10. TCP-Group Digest            Tue, 23 Feb 93       Volume 93 : Issue   51
  11.  
  12. Today's Topics:
  13.                                    
  14.                               Atari NOS
  15.                          AX.25 and callsigns
  16.                     FEC in amateur radio (3 msgs)
  17.                          Ignoring ARP request
  18.                                jnos108
  19.                          jnos108 repeat query
  20.                         ka9q0105 and ftpusers
  21.       looooooooooooooooooooooooooooooooooooong messages (3 msgs)
  22.                               my BM mod
  23.                           New ax25? (6 msgs)
  24.                         On dealing with radar
  25.                   physical layer and FEC engineering
  26.                         redoing amateur packet
  27.                      Riff-raff and the internet?
  28.                               Slow Mail
  29.                          Slow mail? (2 msgs)
  30.                         stat() in Borland C++
  31.                         Stat - Hello wake up !
  32.  
  33. Send Replies or notes for publication to: <TCP-Group@UCSD.Edu>.
  34. Subscription requests to <TCP-Group-REQUEST@UCSD.Edu>.
  35. Problems you can't solve otherwise to brian@ucsd.edu.
  36.  
  37. Archives of past issues of the TCP-Group Digest are available
  38. (by FTP only) from UCSD.Edu in directory "mailarchives".
  39.  
  40. We trust that readers are intelligent enough to realize that all text
  41. herein consists of personal comments and does not represent the official
  42. policies or positions of any party.  Your mileage may vary.  So there.
  43. ----------------------------------------------------------------------
  44.  
  45. Date: Tue, 23 Feb 93 09:09:16 MET
  46. From: larsh@front.se
  47. Subject: 
  48. To: tcp-group@ucsd.edu
  49.  
  50.  Is there a (packet)driver available for the DEPCA DE-200
  51.  board ?
  52.  
  53.  /Lars
  54.  
  55. ------------------------------
  56.  
  57. Date: Tue, 23 Feb 93 10:40:50 MET
  58. From: Mario.Illgen@Informatik.TU-Chemnitz.DE (Mario Illgen)
  59. Subject: Atari NOS
  60. To: john@its.bt.co.uk
  61.  
  62. Hi John,
  63. thanks for your mail.
  64. > KISS or SLIP mode up to it. What advantages (other than being NOS) does
  65. > your port have over CHL? In particular, I'd would find it useful if it
  66. > ran in background.
  67. Sorry to disappoint you, but my NOS runs not int the background (as an
  68. .ACC). But you have full access to the menu bar so, if you run MiNT with
  69. TOSWIN or (hopefully soon) MTOS, you can run other applications parallel.
  70. I think the main advantage is the user interface. It is an real GEM program
  71. where every session has it's own window (there is also a trace session in
  72. an extra window). And it is NOS :-) The port based on GRINOS v1.7j and
  73. I have included the mailbox of GRINOS 2.0.
  74.  
  75. > Why not use PE1CHL's scc card for your system. I don't see the point in
  76. > re-inventing the wheel.
  77. That's my problem, I'm still looking for the wiring of this card and (if it
  78. exists) the board layout. Are these informations available (and where)?
  79.  
  80. 73! de Mario, DL3LSM
  81. -- 
  82. **********************************************************************
  83. *     Mario Illgen    *  INTERNET: illgen@informatik.tu-chemnitz.de  *
  84. *     TU Chemnitz     *                                              *
  85. *     FB Informatik   *  AX25 BBS: DL3LSM@DB0LPZ.GER.EU              *
  86. **********************************************************************
  87.  
  88. ------------------------------
  89.  
  90. Date: Tue, 23 Feb 93 08:38:22 +1100
  91. From: aawalmi@melu00.bhppmel.bhp.com.au (Mike Walker)
  92. Subject: AX.25 and callsigns
  93. To: tcp-group@ucsd.edu
  94.  
  95. How about we drop these silly alphanumeric callsigns and replace them
  96. with a 32 bit hex address for everything.  That should stir up the old
  97. CW freaks.
  98.  
  99. CQCQCQ de 120AEE2311AC9F0E
  100.  
  101. Mike
  102. VK3ZMF       :-/
  103.  
  104. ------------------------------
  105.  
  106. Date: Mon, 22 Feb 1993 11:30:24 -0500
  107. From: goldstein@carafe.tay2.dec.com (k1io, FN42jk)
  108. Subject: FEC in amateur radio
  109. To: tcp-group@ucsd.edu
  110.  
  111. Comparing Reed-Solomon (block) coding with Phil's idea of using
  112. convolutional coding, I sympathize with Phil's aims:  Block coding
  113. doesn't work terribly well with variable-lenght data, for the
  114. same reason ATM has overhead:  An R-S block is like a cell and has
  115. to be padded out.  Also it has to be R-S decoded, while convolutional
  116. decoding is optional.  The main advantage of R-S seems to be chip
  117. availability, presuming that CD chips are available on the cheap.
  118.  
  119. But what's the best convolutional code to use?  Phil mentions one
  120. that has 50% efficiency, but makes up for it in part by only sending
  121. the FEC bits if the original bits fail.  How hard is that code to
  122. handle in software or (cheap, available) hardware?  Perhaps the one
  123. Phil mentioned is easy enough.  Then the second question arises,
  124. is there a convolutional code with greater than 50% efficiency that
  125. will handle the types of errors we are likely to see on packet radio?
  126. What about, for example (and I don't know the properties) CRC-56
  127. (isn't that what cheap disks use?) and CRC-64?  Are they adequate
  128. and if so, up to what frame sizes?  With decent protocols, there's
  129. no reason to need large frames; we can simply define a transmission
  130. as being longer than one frame (i.e., FDDI's TTRT)  and, if the
  131. FEC isn't good enough, use a selective recovery protocol (Checkpoint
  132. Selective Reject comes to mind).
  133.  
  134. Lots of room for experimentation here...
  135.    fred k1io
  136.  
  137. ------------------------------
  138.  
  139. Date: Mon, 22 Feb 1993 14:09:06 -0800 (PST)
  140. From: Bruce Perens <bruce@pixar.com>
  141. Subject: FEC in amateur radio
  142. To: Adrian Godwin <agodwin@acorn.co.uk>
  143.  
  144. > perhaps you should synchronise to the interference source
  145. > and transmit only in the gaps.
  146.  
  147. I think there's a random element to the repetition rate to jam-proof the
  148. radar. If it were very predictable, it could be spoofed. Thus,
  149. transmitting in the gaps may not be an option.
  150.  
  151. Around here, we aim a second antenna at the base where it's located.
  152. If it can hear you, it won't transmit on that frequency.
  153.  
  154.      Bruce
  155.  
  156. ------------------------------
  157.  
  158. Date: Tue, 23 Feb 93 12:08:24 PST
  159. From: "Jerzy Tarasiuk" <JT@zfja-gate.fuw.edu.pl>
  160. Subject: FEC in amateur radio
  161. To: tcp-group@ucsd.edu
  162.  
  163. > Date: Sat, 20 Feb 93 13:11:24 -0800
  164. > Message-Id: <9302202111.AA15897@qualcomm.com>
  165. > From: Phil Karn <karn@qualcomm.com> (Phil Karn)
  166. > Consider a typical military radar with a 400 Hz rep rate, a 8 Mhz bandwidth,
  167. > a 10 second antenna sweep rate, and a 20 microsecond pulse width (this
  168.  
  169. > Message-Id: <9302221636.AA21213@flashy.tay2.dec.com>
  170. > Date: Mon, 22 Feb 1993 11:30:24 -0500
  171. > From: goldstein@carafe.tay2.dec.com (k1io, FN42jk)
  172. > What about, for example (and I don't know the properties) CRC-56
  173. > (isn't that what cheap disks use?) and CRC-64?  Are they adequate
  174.  
  175. Hello,
  176. I don't know any easy way to recover original data having CRC if errors
  177. are in many places. CRC is good if have you single burnst of errors - a
  178. way to recover original data is: compute CRC of data+CRC received, then
  179. compute CRC "back" until width of non-zero part of it is small enough
  180. (can do it for entire data to find most probable place). Probably disk
  181. controllers use similar way and as I remember they allow recevering
  182. original data when several consecutive bits are lost due to error.
  183.  
  184. For the particular case of radar destroying data bits with exactly
  185. known frequency: I remember old CDC 6400 machine and its 9-track 800
  186. BPI (NRZI coding) tape controller, it was capable to recover correct
  187. data when one of coins of head was damaged and drive was reading 8
  188. of the 9 tracks only. The algorithm required all errors to be on one
  189. bit position; it used one parity bit for every byte and 9 bit CRC for
  190. entire block, the CRC was used to find which coin was bad.
  191. More efficient error correction was used for 1600 BPI (Phase Encoded)
  192. - when bit was unreliable, decoder knew which bit and parity bit
  193. allowed to correct byte (possible to get correct data if only single
  194. error in every byte). The second can be probably applied to packet
  195. radio to recover data destroyed by radar QRM if computer gets QRM
  196. information (knows which bits of data were destroyed by the QRM).
  197.  
  198. This would require sender to insert some extra parity bits, e.g. 2 per
  199. 16 bytes (one is XOR of all odd, second of all even bits); assuming the
  200. 400Hz rep rate and 56kbaud we get one or two data bits destroyed per
  201. 140; the receiver must check QRM signal from pulse blanker and set the
  202. bit(s) received during QRM to proper value(s) to get good parity for
  203. the 16-byte block. This is relatively simple algorithm and the error
  204. correction should be done by a hardware rather than a software.
  205. 73's, JT
  206.  
  207. ------------------------------
  208.  
  209. Date: 22 Feb 93 08:17:38 CST
  210. From: Jack Snodgrass <kf5mg@vnet.ibm.com>
  211. Subject: Ignoring ARP request
  212. To: <TCP-Group@UCSD.Edu>
  213.  
  214. Is there a way to ignore arp request on a specific interface? I have a
  215. lan connection that gets flooded with ARP request. I'm 'hearing' several
  216. arp request per second. I'm also running out of storage, and I think
  217. that it might be because of processing all the arp commands. I sent a
  218. note to the 2 machines that are sending out the request. I got a note
  219. back saying that they were doing some kind of network management and
  220. they were supposed to be arping everyone constantly. Doesn't seem to
  221. do much for performance. Thanks.
  222.  
  223. 73's  de  Jack - kf5mg
  224. AMPRnet         -  kf5mg@kf5mg.ampr.org       - 44.28.0.14
  225. AX25net         -  kf5mg@kf5mg.#dfw.tx.usa.na - work (817) 962-4409
  226. Internet        -  kf5mg@vnet.ibm.com         - home (817) 488-4386
  227.  
  228. ------------------------------
  229.  
  230. Date: Mon, 22 Feb 93 14:23:20 -0800
  231. From: (Johan K. Reinalda) <johan@ECE.ORST.EDU>
  232. Subject: jnos108
  233. To: nos-bbs@hydra.carleton.ca, tcp-group@ucsd.edu
  234.  
  235. Is out. It contains
  236.  
  237. -improved BID handling in smtp server (rejection of duplicates)
  238.  
  239. - Tipmail improved with Xmodem support
  240.  
  241. -several commands modifying interface flags have different syntax
  242. (eg ax25 digipeat [<iface>] [on|off] )
  243.  
  244. -'repeat' command added
  245.  
  246. -new buck book drivers for int'l calls
  247.  
  248. -mailbox acces can be configured for bbs-only, sysop-only etc.
  249.  per interface...
  250.  
  251. -no limit of 10 on convers-call/mailbox connections anymore
  252.  
  253. Lots and lots more; PLEASE read the README.NOW CAREFULLY !!!
  254. There are quite a few things that have dramatically changed, and
  255. need modifying of the autoexec.nos file !!!
  256.  
  257. Code is on wg7j.ece.orst.edu in /public/108,
  258. and tomcat.gsfc.nasa.gov in /public/tcp/nos/wg7j/108
  259.  
  260. Ucsd.edu doesn't have write permissions anymore in incoming, so
  261. it is not there :-(
  262.  
  263. Have fun,
  264.  
  265. Johan, wg7j
  266.  
  267. ------------------------------
  268.  
  269. Date: Mon, 22 Feb 93 22:51:36 CST
  270. From: ve4drk@muug.mb.ca (Dan Keizer)
  271. Subject: jnos108 repeat query
  272. To: tcp-group@ucsd.edu
  273.  
  274. Just got 108 loaded down, tried out the pre-compiled version from johan, just
  275. noticed that there appears to be some junk at the end of the line for
  276. the repeat command .. ie:   repeat 1000 s
  277. shows this.  Haven't had time to look into it, but thought i'd at least
  278. let it be known.
  279. Dan.
  280. ------------------------------------------------------------------------
  281. Dan Keizer, VE4DRK      ve4drk@pc.ve4drk.ampr.org [44.135.124.25]
  282. ve4drk@muug.mb.ca       VE4DRK@VE4KV (AX.25) Winnipeg, Manitoba Canada
  283.  
  284. ------------------------------
  285.  
  286. Date: Mon, 22 Feb 93 22:56:20 -0800
  287. From: chuckb@babbage.ecs.csus.edu (Chuck Bland)
  288. Subject: ka9q0105 and ftpusers
  289. To: tcp-group@ucsd.edu
  290.  
  291. What, folks, am I doin' wrong...........
  292.  
  293. As promised, it appears ka9q0104 is trying to rewrite my ftpusers file
  294. after hashing it. The problem is that it leaves me with a 0 length file
  295. and no error messages anywhere explaining why.
  296.  
  297. I've strolled through the sources, but I'm not getting any better info on
  298. why is isn't happy. Any clues, folks ?
  299.  
  300. I presume this must be some type of local problem ,since I haven't seen
  301. any gripes here. Your help is appreciated.
  302.  
  303. Chucky
  304. chuckb@babbage.ecs.csus.edu
  305.  
  306. ------------------------------
  307.  
  308. Date: 22 Feb 1993 16:46:02 GMT
  309. From: brian@ucsd.edu (Brian Kantor)
  310. Subject: looooooooooooooooooooooooooooooooooooong messages
  311. To: mail-tcp-group@ucsd.edu
  312.  
  313. In article <1271.JT@zfja-gate.fuw.edu.pl> JT@zfja-gate.fuw.EDU.PL (Jerzy Tarasiuk) writes:
  314. >when you really need to send something long, *PLEASE* pkzip and
  315. >uuencode it. And put some text info what it is. Your msg exceeded
  316. >100kB and some mailers may have a little trouble handling it.
  317. >Pkzip+uuencode would produce file 2 times shorter (50kB only)!
  318. >73's, JT
  319.  
  320. Better yet, don't mail it to the group at all.  This is supposed to be a
  321. DISCUSSION list, not a software distribution channel.  Use FTP.  Or mail
  322. it only on request.
  323.  
  324. Am I going to have to install a 500-lines-max filter on this list also?
  325.  
  326. Jeez, people, use your alleged brains.
  327.  - Brian
  328.  
  329. ------------------------------
  330.  
  331. Date: Mon, 22 Feb 93 09:35:17 PST
  332. From: jackb@mdd.comm.mot.com (Jack Brindle)
  333. Subject: looooooooooooooooooooooooooooooooooooong messages
  334. To: tcp-group@ucsd.edu, JT@zfja-gate.fuw.edu.pl
  335.  
  336. >when you really need to send something long, *PLEASE* pkzip and
  337. >uuencode it. And put some text info what it is. Your msg exceeded
  338. >100kB and some mailers may have a little trouble handling it.
  339. >Pkzip+uuencode would produce file 2 times shorter (50kB only)!
  340.  
  341. Isn't it amazing that the simplest things can cause controversy...
  342. I fully agree with the request to compress things that are so long.
  343. What I disagree with is the method. It appears that the most universal
  344. compression system is unix compress. This utility has been implemented
  345. across almost all systems. Unfortunately PKZip has not. So, please,
  346. if the file you wish to send is real long, use compress first...
  347. Jack Brindle                                                        
  348. ------------------------------------------------------------------------------
  349. ham radio: wa4fib                             internet: jackb@mdd.comm.mot.com
  350.  
  351. ------------------------------
  352.  
  353. Date: Mon, 22 Feb 93 22:50:44 GMT
  354. From: john@its.bt.co.uk
  355. Subject: looooooooooooooooooooooooooooooooooooong messages
  356. To: Jerzy Tarasiuk <JT@zfja-gate.fuw.edu.pl>, DECARLIS@MTUS5.cts.mtu.edu,
  357.  
  358. Jerzy Tarasiuk <JT@zfja-gate.fuw.edu.pl> wrote:
  359. >
  360. > when you really need to send something long, *PLEASE* pkzip and
  361. > uuencode it. And put some text info what it is. Your msg exceeded
  362. > 100kB and some mailers may have a little trouble handling it.
  363. > Pkzip+uuencode would produce file 2 times shorter (50kB only)!
  364. > 73's, JT
  365.  
  366. Can I suggest an even better idea. Some of us are connected by dial-up links
  367. and even 50K of msg costs! Please could you put it somewhere it can be ftp'd
  368. and put a pointer here.
  369.  
  370. 73. John
  371.  
  372. -- 
  373. Office: jvt@its.bt.co.uk
  374. Home: john@its.bt.co.uk || john@g4rev.ampr.org || G4REV @ GB7FLG
  375.  
  376. ------------------------------
  377.  
  378. Date: Mon, 22 Feb 93 17:03:03 PST
  379. From: "Jerzy Tarasiuk" <JT@zfja-gate.fuw.edu.pl>
  380. Subject: my BM mod
  381. To: tcp-group@ucsd.edu
  382.  
  383. Hello, all BM users
  384.  
  385. A feature of BM I (and one of my friends) don't like is it allows
  386. to specify as recipient bare address only, not something like:
  387. jt@zfja-gate.fuw.edu.pl (Jerzy Tarasiuk)
  388. I made a mod allowing it for bm332b, it is on zfja-gate file
  389. mailer/bm-send.zip (contains only bm.h and send.c). Allows the
  390. specified form on 's' command argument, and /alias file can have
  391. lines like: jt jt@zfja-gate.fuw.edu.pl (Jerzy Tarasiuk)
  392. Specifying name on command line overrides name from alias file.
  393.  
  394. Few questions: 1. line 64 in original send.c was:
  395.   if (tp->host != NULLCHAR || *tp->host != '\0') {
  396. I suppose should be && instead ||, I changed it in my version;
  397. 2. when alias and name are specified on command line and alias
  398. specifies more than one address, the name from command line
  399. is put after every address, should it be or put after last only?
  400. 3. when OUTGOING mail is put in log, its beginning line is:
  401.  
  402. ------------------------------
  403.  
  404. Date: Mon, 22 Feb 1993 13:12:49 +0000 (GMT)
  405. From: markw@icsbelf.co.uk (Mark Willis)
  406. Subject: New ax25?
  407. To: tcp-group@ucsd.edu
  408.  
  409. >Lyndon Nerenberg <Lyndon.Nerenberg@ns.unbc.edu> writes;
  410. >
  411. >> Well, the callsign doesn't belong in every packet, either - it's extra
  412. >
  413. >So how else are you going to generate a unique and reproduceable address
  414. >for that layer?
  415.  
  416. A while back AEA released a version of firmware for the PK-88 with a feature
  417. called 'PK-Lite' which did some form of header compression. From what I
  418. understand callsigns aren't sent in every packet, or maybe they are compressed?
  419. Anyway, couldn't we do something like this?
  420.  
  421.  
  422. >Digressing a fair bit, Phil mentions he would like to see some sort of
  423. >"LAN" routing scheme setup below IP to give IP the fully connected network
  424. >it wants.  
  425. >
  426. >Instead of trying to patch IP we give it the sort of connectivity it
  427. >assumes is present and design a protocol specifically to handle the
  428. >problems a Radio network (such as we have) presents.
  429.  
  430. Well, I'm not familiar with that sort of protocol, but it sounds difficult.
  431. Don't you eventually get into a position where you are sending huge routing
  432. info packets every 30s/30m/whatever?  Must buy some 64k modems...
  433.  
  434. The other problem is that such a network might only be capable of routing
  435. IP. Now I like that, but there's lots of other people round here who don't use
  436. IP and don't see any need to. Do we build a network that excludes these people?
  437.  
  438. Whats actually *wrong* with protocols like RSPF ? I know it has problems in
  439. multiport-one-ip-address situations, but what is it like in practice in big
  440. amateur ip networks? I only ask because there are so few people running IP here
  441. in GI that I can't evaluate these things.
  442.  
  443. >+--------------
  444. >| IP
  445. >+--------------
  446. >| "LAN" connectivity protocol
  447. >+--------------
  448. >| Link protocol
  449. >+--------------
  450. >
  451. >It would present to IP a model of the network pretty much as if was a
  452. >*very* slow ethernet.
  453. >
  454. >It would need to support the following;
  455. >
  456. >Broadcasts,
  457. >Multicasts,
  458. >Point to point unreliable, unconnected delivery.
  459. >
  460. >Full and half duplex links,
  461. >One way and multiple paths,
  462.  
  463. p-p unreliable unconnected over a smart network is probably the most useful.
  464. Support for full & half duplex should be mandatory.
  465.  
  466. >Carl.
  467. >vk1kcm.
  468.  
  469. -mark
  470. -- 
  471. Mark Willis                   Internet:  markw@icsbelf.co.uk
  472. ICS Computing Group Ltd.      UUCP:      ...uknet!icsbelf!markw
  473. Northern Ireland              Packet:    GI0PEZ@GB7TED.#63.GBR.EU
  474. Belfast                       AmprNet:   gi0pez@gi0pez.ampr.org [44.131.15.3]
  475.  
  476. ------------------------------
  477.  
  478. Date: Mon, 22 Feb 1993 09:55:01 -0600
  479. From: miltonm@inetnode.austin.ibm.com (Milton Miller)
  480. Subject: New ax25?
  481. To: Lyndon.Nerenberg@ns.unbc.edu
  482.  
  483. In message <199302180622.AA07510@ns.unbc.edu>, Lyndon Nerenberg <Lyndon.Nerenberg@ns.unbc.edu> writes:
  484. > > So how else are you going to generate a unique and reproduceable address
  485. > > for that layer?  Using the callsign of the station with some other
  486. > > identifying information makes it reasonably easy to keep the identification
  487. > > unique.
  488. > Well, the address only has to be unique within the subset of stations
  489. > that can hear each other. I would use a 16 bit station address. When
  490. > a station comes on the air it picks a random value and broadcasts it
  491. > out the appropriate port. If the address is already in use the existing
  492. > address holder sends out a "sorry, try another one" reply, and the
  493. > process repeats until a unique address is found. (Now where have I
  494. > seen *that* before :-)
  495. > --lyndon
  496.  
  497. Which very quickly breaks because X can hear Y but not vice versa, or, 
  498. even more common, Z can hear X and Y, but they can't hear each other :)
  499. (Or X is temporally mute and/or deaf because of operator error and never
  500. really sends the "Is this address in use?")
  501.  
  502. milton
  503.  
  504.  
  505. PS: Regarding the message delays, I went 3 days last week without
  506. getting a single message.  I have also seen 3 messages from Phil Karn
  507. duped (don't know if they were just duped to me or not, not worth going
  508. back through the headers yet).  This address was added about a year 
  509. ago, to give some an idea where it is in the list.
  510.  
  511. ------------------------------
  512.  
  513. Date: Mon, 22 Feb 1993 10:36:38 -0500
  514. From: chk@alias.com (C. Harald Koch)
  515. Subject: New ax25?
  516. To: chrisc@biggus.moron.vware.mn.org (Chris Cox W0/G4JEC)
  517.  
  518. > That, however, then requires that you know our ip address prior to 
  519. > setting a link address.  rarp/bootp would not work then.  I doubt it's
  520. > used very much over radio, however, it would be useful.
  521.  
  522. Well, in order to talk to you using IP, I have to know your IP address :-)
  523. But I see your point.
  524.  
  525. > Is there any great reason why your callsign should not make up part of
  526. > the link address, or at least use it as seed for an address?  It is useful
  527. > in that it is unique.
  528.  
  529. As a seed for an address, I suppose it's OK. The problem is that call-signs
  530. are variable length objects, which are difficult to handle. The current
  531. scheme of reserving six characters is flawed, because there are callsigns
  532. longer than six characters out there (witness special event stations).
  533.  
  534. Having said all that, I don't have a better solution to offer. :-)
  535.  
  536. -- 
  537. Main's Law: For every       | C. Harald Koch  Alias Research, Inc. Toronto, ON
  538. action, there is an equal   | chk@alias.com                (work-related mail)
  539. and opposite goverment      | chk@gpu.utcs.utoronto.ca     (permanent address)
  540. program.                    | VE3TLA@VE3OY.#SCON.ON.CA.NA            (AMPRNet)
  541.  
  542. ------------------------------
  543.  
  544. Date: Mon, 22 Feb 1993 11:03:44 -0800
  545. From: Lyndon Nerenberg <Lyndon.Nerenberg@ns.unbc.edu>
  546. Subject: New ax25?
  547. To: karn@qualcomm.com, Lyndon.Nerenberg@ns.unbc.edu, makinc@hhcs.gov.au,
  548.  
  549.  
  550.  
  551. ------------------------------
  552.  
  553. Date: Mon, 22 Feb 93 00:58:39 -0800
  554. From: karn@qualcomm.com (Phil Karn)
  555. Subject: New ax25?
  556. To: Lyndon.Nerenberg@ns.unbc.edu, makinc@hhcs.gov.au, tcp-group@ucsd.edu
  557.  
  558. > I strongly disagree. Putting both callsigns into each frame was one
  559. > thing (and probably the only thing) AX.25 did right.
  560.  
  561. Can you elaborate? I don't understand the big win.
  562.  
  563. > If you really want to reduce overhead in a packet system, the secret
  564. > lies in educating the *upper layer* protocols to generate fewer and
  565. > larger packets whenever possible. I can think of all sorts of
  566. > examples: the Nagle algorithm in TCP (widely implemented) and Linemode
  567. > Telnet (unfortunately not yet very widely implemented) are two that
  568.  
  569. But why stop at the upper layers? The picture I have is of people
  570. running emacs over the radio. (Sick, or what? :-)  At that point linemode
  571. telnet doesn't help. It is the nature of the application to generate
  572. little tiny one or two character data packets that need to get to their
  573. destination fast. Why should I delay transmission of a single character
  574. packet by a factor of eight (assuming 32 bit address fields) just so I
  575. can include some verbose addressing information that I don't necessarily
  576. need to operate over the link? (Yes, the above numbers are a bit flawed -
  577. I'm not taking header sync bits into account. If I do the X8 decrease
  578. is reduced somewhat.)
  579.  
  580. If you *insist* in putting a callsign into the header, provide an
  581. option field for it. Don't use it for addressing.
  582.  
  583. --lyndon
  584.  
  585. ------------------------------
  586.  
  587. Date: Tue, 23 Feb 1993 11:46:15 +1000
  588. From: makinc@hhcs.gov.au
  589. Subject: New ax25?
  590. To: tcp-group@ucsd.edu
  591.  
  592. Mark Writes;
  593.  
  594. > A while back AEA released a version of firmware for the PK-88 with a feature
  595. > called 'PK-Lite' which did some form of header compression. From what I
  596. >  understand callsigns aren't sent in every packet, or maybe they are compressed?
  597. > Anyway, couldn't we do something like this?
  598.  
  599. Sure, we could design something that used callsigns at link establishment
  600. and then used a negotiated token from then on, but the question is really
  601. why?  Is it worth the hassle writing this to save up to 32 bytes?
  602. Especially as higher speed networks are becoming more common.  I personally
  603. don't think so however I can see this becoming a religious war. :-(
  604.  
  605. >> Digressing a fair bit, Phil mentions he would like to see some sort of
  606. >> "LAN" routing scheme setup below IP to give IP the fully connected network
  607. >> it wants.
  608.  
  609. >> Instead of trying to patch IP we give it the sort of connectivity it
  610. >> assumes is present and design a protocol specifically to handle the
  611. >> problems a Radio network (such as we have) presents.
  612.  
  613. > Well, I'm not familiar with that sort of protocol, but it sounds difficult.
  614. > Don't you eventually get into a position where you are sending huge routing
  615. > info packets every 30s/30m/whatever?  Must buy some 64k modems...
  616.  
  617. You wouldn't have all of California (for example) known at this
  618. "sub-network" layer.  Just the "subnet" for the area you are in and the
  619. gateway out.  Routing information could be sent "on demand" and
  620. periodically as well (just like RIP or NETROM) and needn't be huge.
  621.  
  622. Actually, before we look at routing information we'd better look at how
  623. this "sub-network" layer could work.
  624.  
  625. The way I see it we can go either of two ways.
  626.  
  627. 1) Every station is a full routing member of the "sub-network" or
  628.  
  629. 2) We use a HUB/CLIENT configuration where we have designated HUBS which
  630. are known throughout the area and CLIENTS which are known to nobody but
  631. themselves.
  632.  
  633. Each has their advantages and disatvantages although I personally favour
  634. option 2.  Of course we can mix them to a large extent. :-)
  635.  
  636. > The other problem is that such a network might only be capable of routing
  637. > IP. Now I like that, but there's lots of other people round here who don't use
  638. > IP and don't see any need to. Do we build a network that excludes these people?
  639.  
  640. Why are they excluded?  We have AXIP, we can pass AX25 over IP as a worse
  641. case, or we can provide gateways (such as Nos does now) into an IP network.
  642.  
  643.  
  644. > Whats actually *wrong* with protocols like RSPF ? I know it has problems in
  645.  
  646. Well, from my understanding the biggest problem is that it is trying to
  647. deal with a situation with which IP wasn't designed to handle.
  648.  
  649. > p-p unreliable unconnected over a smart network is probably the most useful.
  650. > Support for full & half duplex should be mandatory.
  651.  
  652. Broadcasts are also mandatory and if we are building a new protocol we
  653. might as well include things like multicasts in NOW!
  654.  
  655. Carl,
  656. vk1kcm.
  657. --
  658. Carl Makin   (VK1KCM)  Systems Programmer
  659. Internet:    makinc@hhcs.gov.au
  660. Amprnet:     vk1kcm@vk1kcm.act.aus.oc
  661. Work Phone:  +61 6 289-9443
  662.  
  663. ------------------------------
  664.  
  665. Date: Mon, 22 Feb 1993 08:55:30 -0600 (CST)
  666. From: Steve Sampson <ssampson@sabea-oc.af.mil>
  667. Subject: On dealing with radar
  668. To: TCP-Group@UCSD.Edu
  669.  
  670. Phil Karn <karn@qualcomm.com> writes ..
  671. > Consider a typical military radar with a 400 Hz rep rate, a 8 Mhz bandwidth,
  672. > a 10 second antenna sweep rate, and a 20 microsecond pulse width (this
  673. > latter figure is the most uncertain, I estimated it with an HP spectrum
  674. > analyzer set in "zero span" mode with the fastest possible sweep, 50 us/div).
  675.  
  676. Adrian Godwin <agodwin@acorn.co.uk> writes..
  677. > Is there just one radar transmitter, or several unsynchronised transmitters?
  678.  
  679. My first thought was E-2 radar (Navy) but I think they operate up a little
  680. higher in frequency, so I wonder if it's not an old DEW line radar that I used
  681. to work on in the 70's, because the range is too short (200 nm) for airborne
  682. use.  They should have replaced that pig with a microwave 3D radar by now!  By
  683. the time you get the FEC all worked out they'll probably then decide to upgrade
  684. - hee.  The object, was that you needed a big Soviet ship or cargo plane to
  685. carry anything big enough to jam it, but with the majority of air defence
  686. radars being microwave now, you'd bypass those beasts anyway...
  687.  
  688. But generally you don't have many radars in close proximity, so I don't
  689. suspect you'll run into the problem of multiple radar interference even at
  690. microwave packet, which is where high speed packet belongs.  Since 2m packet
  691. is such a wasteland, any new protocol for user access should just push those
  692. old TNC's into the ocean.  That'll solve your 440 problem, use it for voice.
  693. ---
  694. Steve, N5OWK
  695.  
  696. ------------------------------
  697.  
  698. Date: Mon, 22 Feb 93 9:11:53 PST
  699. From: Glenn Elmore <glenne@srlr12.sr.hp.com>
  700. Subject: physical layer and FEC engineering
  701. To: tcp-group@ucsd.edu
  702.  
  703. Phil writes:
  704.  
  705. > Glenn, I used to think as you did about FEC -- that it was something you did
  706. > as a last resort to patch up a bad radio channel, when you couldn't fix the
  707. > actual problem (e.g., by running more power.) But if I've learned anything
  708. > from the CDMA cellular project here at Qualcomm, it's that FEC is essential
  709. > in wringing maximum performance out of a radio system, even when you have
  710. > the option of increasing transmitter power or using a better antenna.
  711.  
  712.   First, thanks for your thoughts.  I appreciate the feedback a lot as
  713. at times I feel like I'm out here in left field winging it on my own.
  714.  
  715.   I may not have clearly stated my belief (or else you changed my mind
  716. more than I noticed (:> ) WRT the place and value of FEC, power control
  717. etc.  The next version of hardware has room for both even though I'm not
  718. yet sure about the form of FEC in it.
  719.  
  720.   I don't view FEC as a last resort.  I see it as a necessary but
  721. insufficient condition of effective radio link operation.  Also, I
  722. definitely don't see running excess power as the solution.  I think
  723. that simply shifts the problem without improving the fundamental
  724. utilization of the resource.
  725.  
  726.   Also, I think that the environment in which we are trying to optimize,
  727. amateur radio, is considerably different from what Qualcomm is doing.
  728. Not that radio propagates differently for that project, but that the
  729. constraints and goals are a lot different.  One of the differences is
  730. user density.  Another difference is mean path length.  Another
  731. difference is funding and support.  I believe that the
  732. user$'s/mean_path_length^^2 (or some such metric) is extremely
  733. different.  Also Qualcomm may be able to afford a high degree of
  734. integration and be able to cough up enough money to provide the catalyst
  735. necessary to demonstrate a very different kind of network from that
  736. which AR is capable.  I think there are going to be some substantial
  737. differences in implementation because of these differences in climate.
  738.  
  739. > One good reason is spectral efficiency. Efficient spectrum use means a high
  740. > degree of geographic channel reuse (i.e., a cellular scheme), which implies
  741. > that the system is ultimately interference (not noise) limited. To pack
  742.  
  743.   I think this may be almost a non-issue for AR.  Being interference
  744. limited at the kinds of user densities and with the spectrum AR has is
  745. probably unneccessary, and for many hams it is impossible.  As I pointed
  746. out in my physical layer CNC paper, the realities of terrestrial
  747. propagation and a spherical earth effectively limit the sphere of
  748. influence.  Many uhf-microwave weak signal types would love to have
  749. another user withing range that could communicate and "interfere" with
  750. them.
  751.   This may *not* be the case for the users Qualcomm is seeking to serve
  752. in a metropolitan area with a link from every other car and one in every
  753. home.  Still I expect that if such a network is ever going to be truly
  754. wide area that there will be a great many situations where interference
  755. from other users is not a problem and the physical hardware may be noise
  756. limited.  How many competing users are there likely to be out in the
  757. middle of a corn field in Iowa or at the bottom of the Grand Canyon?
  758. Probably less than a hundred.
  759.  
  760. > co-channel users as closely as possible, you want a modulation method with
  761. > the greatest possible resistance to interference. Even if this makes the
  762. > signal much wider, you're still better off in the end.
  763.  
  764. Agreed.  Probably especially *if* it makes the signal wider (reference
  765. Shannon).  Whether the degrading influence is multipath, QRM or QRN we
  766. have to minimize it's impact.
  767.  
  768. > Spread spectrum is of course the way to do this, but FEC also plays
  769. > an important part. By reducing the average required transmitter power 5 dB
  770.  
  771. SS is part of the solution.  Again, necessary at times but not
  772. sufficient.
  773.  
  774.  
  775. > Consider a typical military radar with a 400 Hz rep rate, a 8 Mhz bandwidth,
  776. > If the pulses were really short, i.e., on the order of 1/bandwidth, then
  777. > even at 56kb/s a simple pulse blanker would be very effective at dealing
  778. > with it. Unfortunately the radar pulses are much longer than they have to be
  779. >for the bandwidth they use, probably because of either pulse compression and/or
  780. > simple pulse broadening to increase target sensitivity. Because the pulse
  781. > durations are comparable to an entire bit time at 56 kilobits, a pulse blanker
  782. > would remove entire data bits along with the radar pulses.
  783. > Let's say that your link is otherwise reasonably well engineered, so most
  784. > of your channel bit errors are due to radar pulse hits. Let's also assume
  785. > that the radar pulses, when they occur, are much stronger than the data
  786. > bits themselves -- say by 40 dB or so. To overcome the radar QRM by brute
  787. > force, you'd have to make up that 40 dB by either turning up the wick by
  788. > that amount (probably not practical, as well as not legal, especially in
  789. > one of the 50W limit zones), or by using antennas with that much additional
  790. > gain and/or sidelobe suppression (difficult if not impossible when you
  791. > consider scattering.
  792.  
  793.  
  794. This is the crux of the physical layer problem I was addressing.  While
  795. it shows off the value of FEC it also points to the fundamental problem
  796. that FEC is "curing".
  797.  
  798.   From the hardcore physical layer view of things, the presence of such
  799. a radar is pretty insignificant.  The reduction in capacity from 400,
  800. 100 nanosecond long "outages" every second is only .004%, your crystal
  801. controlled data clock could drift that far and have the same impact on
  802. utilizing the available channel capacity as predicted by Shannon.  Even
  803. if the pulses are stretched due to system nonlinearites or whatever and
  804. take a hit for an entire bit time at 56 kbps you're only losing 400/56K
  805. and you're still not even up to 1% degradation yet.
  806.  
  807. > Or you can use FEC. If the pulse rep rate is 400 Hz and your data rate is
  808. > 56kb/s, then the radar will hit, at most, one or two data bits out of every
  809. > 56000/400 = 140. That's a channel bit error rate of 1%, in round numbers,
  810. > which is much too high for good performance without FEC.  And cranking up
  811. > the wick won't do anything to lower this error rate until you swamp the
  812. > radar's power, which we already know is impractical.
  813.  
  814.    This problem really isn't a physical layer one (well I'm not sure
  815. where FEC sits, sort of perched on the fence between L1 and L2 depending
  816. on the implementation isn't it?)  it's that " you're letting a few
  817. errors spoil your whole day".  The actual channel capacity really hasn't
  818. degraded (been shared) much.  FEC offers a graceful way for performance
  819. to degrade along with it.  Instead of wiping out kilobits of data
  820. because a few were wrong, it lets things continue with just a little
  821. overhead and slowdown.  This is definitely good stuff.  But, it doesn't
  822. solve the physical layer problem I was referring to in my original
  823. posting.
  824.  
  825. >But it's *easy* to build FEC systems that handle channel bit error rates of 1%.
  826.  
  827. > at relatively low error rates like 1% it has no problem keeping up with a
  828. > 56kb/s modem with time to spare on a 33 Mhz 486. The chances of an
  829. > uncorrected error at this rate
  830. > are nil for all practical purposes, so the effective coding gain in this case
  831. > is equal to the amount of power you'd have to run to get the same effect by
  832. > simply cranking up the wick -- 40 dB in this example. That's a pretty 
  833. > impressive figure!
  834.  
  835.   I disagree.  From a channel capacity view that's not a fair
  836. comparison.  Turning up the power or other hardware budget variable by
  837. 40 dB is *not* how to solve a .7% degradation in channel capacity which
  838. caused *all* data to be lost and "threw away" all the remaining channel
  839. capacity.  The precise cure depends on the cause of degradation.  SS to
  840. combat multipath, directional antennas/higher frequencies to allow
  841. better reuse and lower interference all of which are likely to cause
  842. massive or total errors, FEC to handle bit errors when they start to
  843. climb out of the very-small range, or other means may be indicated.
  844. Dynanmic capacity adaptation is necessary to the degree that paths/links
  845. aren't stable.  This instability and variability can be huge if we
  846. aren't careful.  To that degree, all of these "fixes" are bandaids
  847. covering a more serious problem.
  848.  
  849.   I think we are pretty much in agreement but this demonstrates the
  850. differences of the areas we are discussing.  I agree that FEC and
  851. spreading are vital to keep imperfections in the system from causing
  852. immediate and total collapse.  My original comment was that we have to
  853. engineer the underlying layer, paths, antennas etc so that we *have* a
  854. channel working near optimum capacity to begin with.  AR can't afford
  855. the overhead (like 40 dB excess power capability) to make up for a link
  856. that was poorly designed to begin with.  At least not if we want a wide
  857. area network which can has a significant information content.
  858.  
  859.   Both link engineering and graceful adaptation to capacity changes,
  860. whether induced by multipath, QRN or QRM, are necessary.  Both
  861. engineered paths and FEC/power control are necessary but neither is
  862. sufficient in itself.
  863.  
  864. > You choose a "systematic" convolutional code where the original data appears
  865.  
  866. > What's really neat about this is that both frames (the original one plus
  867. > the encoded one) can be riddled with errors, but as long as the rate isn't
  868. > higher than about 6 or 7%, the decoder will quickly recover good data from the
  869. > combination. This makes it *much* more efficient than simply resending the
  870. > unencoded frame over and over in the hope that it will get through without
  871. > any errors -- which is pretty unlikely if the average error rate is that high.
  872.  
  873.   This sounds like good territory but we have to remember to keep this
  874. in context of a lower layer which can easily degrade by 10,000% if we
  875. don't properly implement it. 
  876.   Given the AR environment, which probably won't be able to afford 486+
  877. capacity to perform the FEC you suggest inside an
  878. xyl-approved-price-range digital/radio/antenna interface to a wide area
  879. amateur network, what sorts of FEC implementations might make sense?
  880. Specifically, what kind of hardware might I consider including in the
  881. next radios I'm working on?
  882.  
  883. > These little 2-3 dB factors really start adding up. If you go from a
  884. > non-coded noncoherent demodulator to a coherent demodulator with a
  885. > well designed soft decision rate 1/2 FEC, you can easily save as much
  886. > as 8dB on transmitter power. This should be very attractive in some
  887. > places (like satellites). And as I said yesterday, the effective
  888. > coding gains against non-thermal noise such as radar pulses can be
  889. > far higher, even with relatively simple FEC.
  890.  
  891.   I am running fully coherent and in addition to normal data slicer, I'm
  892. leaving access to and from the direct I&Q modulators so that analog,
  893. digital or DSP techniques can be applied when/where they work and are
  894. indicated.  With approriate DSP, these radios should be able to
  895. modulate/demodulate SSB as well as the digital modulation mode/speed of
  896. your choice.
  897.  
  898.   Pointers to simple FEC implementations which could offer considerable
  899. return for low end investment and which might also work in concert with
  900. higher capability hosts (486's working on 256kbps bit streams?)  will be
  901. appreciated.  Is anyone on this list actively working on hardware, or
  902. largely hardware, FEC implementations?  My hands are more than full with
  903. just the "baseband delivery" side of things.
  904.  
  905.  
  906. 73
  907. Glenn n6gn
  908.  
  909. ------------------------------
  910.  
  911. Date: Tue, 23 Feb 93 10:53:06 +1100
  912. From: wkt@csadfa.cs.adfa.oz.au (Warren Toomey)
  913. Subject: redoing amateur packet
  914. To: Glenn Elmore <glenne@srlr12.sr.hp.com>, tcp-group@ucsd.edu
  915.  
  916. In atricle by Glenn Elmore:
  917. > Phil wrote:
  918. > > At 10:37 2/9/93 -0800, Jeffrey D. Angus wrote:
  919. > > 
  920. > > >KISS Mode? The only things that would have to stay constant while re-using
  921. > > >existing TNCs are the BELL-202 modem and the 8530 HDLC.
  922. > > 
  923. > > Actually, if you really want to redo amateur packet radio right from
  924. > > the ground up, even these have to go. I'm becoming convinced that some
  925. > > form of forward error correction (FEC) is essential, at least as an
  926. > > option when links get bad, and this pretty much precludes HDLC framing.
  927. >   I see your SCC, TNC, FEC and I raise you an engineered physical layer.
  928. > (:>)
  929. >   I agree that existing hardware doesn't cut it and that FEC and power
  930. > control are useful.  However, these seem to me to be bandaids on a bad
  931. > situation or, at best, a form of adaptation necessary because the lower
  932. > layer hasn't been more effectively utilized.
  933.  
  934. [ Much more deleted ] { Also back from hols & reading the backlog }
  935.  
  936. I agree that FEC isn't needed in some situations. Perhaps we need something
  937. like the IEEE 802 set of standards, for amateur radio, viz:
  938.  
  939.  + One standard Logical Link Control layer that higher layers
  940.    (either built into TNCs or NOS) use to get/receive packets.
  941.    Packets have a standard format at this layer.
  942.  
  943.  + One or more Medium Access Control layers so that we can tailor
  944.    them to particular situations, e.g FEC where bit error rates
  945.    are high. If you're worried about hiving too many MACs running
  946.    around, let's start with one, and design others as the need
  947.    arises.
  948.  
  949.  + Several Physical layers. I guess these already exist as de-facto
  950.    standards.
  951.  
  952. To sum up, a set of standards to choose from, but with a single access
  953. point and format to allow higher software to be easily written.
  954.  
  955.  Warren vk1xwt
  956.  
  957. ------------------------------
  958.  
  959. Date: Mon, 22 Feb 1993 12:43:46 -0800 (PST)
  960. From: Bruce Perens <bruce@pixar.com>
  961. Subject: Riff-raff and the internet?
  962. To: John Paul Morrison <jmorriso@ee.ubc.ca>
  963.  
  964. > the authentication is important if an internet 'wormhole' is established.
  965. > (since Internet won't like having riff-raff invading the networks)
  966.  
  967. Well, there's no central management of the internet to object to us
  968. "riff-raff". I'm working on an "open" gateway that would allow locals
  969. unimpeded access to the internet after a simple telephone verification.
  970. I can't put this on Pixar's internet connection because our access provider
  971. restricts us from gatewaying our connection to other sites. Once, however,
  972. you get by the local access provider, the internet is a free-for-all (too
  973. much so, in opinion). Since AMPRnet stations are official parts of the
  974. internet, what's the problem?
  975.      Bruce Perens
  976.  
  977. ------------------------------
  978.  
  979. Date: Tue, 23 Feb 93 08:18:15 +1100
  980. From: aawalmi@melu00.bhppmel.bhp.com.au (Mike Walker)
  981. Subject: Slow Mail
  982. To: tcp-group@ucsd.edu
  983.  
  984. 36 to 48 hours seems to be the norm for any tcp-group messages
  985. down here.
  986.  
  987. Mike
  988.  
  989. ------------------------------
  990.  
  991. Date: Mon, 22 Feb 93 08:49:21 -0800
  992. From: brian (Brian Kantor)
  993. Subject: Slow mail?
  994. To: tcp-group
  995.  
  996. >For the last week or so the mail from the tcp-group mailing list has been
  997. >taking several days (often a week) to reach my site.  The headers show that
  998. >the articles reach ucsd.edu in a timely manner, but then take days for the
  999. >single hop from ucsd to me.
  1000.  
  1001. UCSD has had some troubles lately, but I think you'll find mail is
  1002. moving faster once again.
  1003.  - Brian
  1004.  
  1005. ------------------------------
  1006.  
  1007. Date: Mon, 22 Feb 93 08:50:47 -0800
  1008. From: brian (Brian Kantor)
  1009. Subject: Slow mail?
  1010. To: tcp-group
  1011.  
  1012. >I've had a three-or-four day lag that usually catches up at weekends - but this
  1013. >is the digest, on 'Bulk' precedence, so that seems reasonable if ucsd is
  1014. >handling a lot of mailing traffic.
  1015.  
  1016. I dunno if it's a lot; on an average day, we deliver between 30 and 35 thousand
  1017. pieces of mail.
  1018.  - Brian
  1019.  
  1020. ------------------------------
  1021.  
  1022. Date: Mon, 22 Feb 1993 13:50:46 -0800 (PST)
  1023. From: Bruce Perens <bruce@pixar.com>
  1024. Subject: stat() in Borland C++
  1025. To: n4yyh@ipswich.wa2hee.ampr.org
  1026.  
  1027. On Sat, 20 Feb 1993 n4yyh@ipswich.wa2hee.ampr.org wrote:
  1028.  
  1029. > The stat() function in Borland C++ uses the realloc() function, although
  1030. > I have no idea for what. I don't know for certain
  1031. > certain what the effects of running Borland's realloc() against a block
  1032. > allocated by NOS's malloc() would be, but I suspect it wouldn't be pretty.
  1033.  
  1034. [OK, keep talking about stat(). See what an awful thought cop I am :-) ]
  1035.  
  1036. If you are supplying your own malloc() and free() (or KA9Q is), you can
  1037. avoid conflict with realloc() by supplying your own realloc(): 
  1038.  
  1039. void *
  1040. realloc(void * original_buffer, size_t size)
  1041. {
  1042.  void * new_buffer = malloc(size);
  1043.  size_t old_size = ...
  1044.  /*
  1045.   * old_size is the size of original_buffer.
  1046.   * Fill that in here. I don't have the
  1047.   * KA9Q source in front of me, so you'll have to figure that
  1048.   * out from your source for malloc() and free().
  1049.    */
  1050.  if ( new_buffer ) {
  1051.   memcpy(new_buffer, original_buffer, old_size);
  1052.   free(original_buffer);
  1053.  }
  1054.  return new_buffer;
  1055. }
  1056.  
  1057. This may even be what the Borland code does, but we can't trust it.
  1058. Realloc has the option to work in-place (return the same address as
  1059. old_buffer, with a bigger buffer), but it is not necessary to emulate
  1060. that behavior. 
  1061.  
  1062. If we're going to replace the allocator, we should replace _all_ of its
  1063. entry points, otherwise some library code that calls one of them may
  1064. clobber us. My ANSI C reference says those are calloc(), free(),
  1065. malloc(), realloc(), and there may be others on your platform.
  1066.  
  1067. I kind of think ANSI should have left realloc() and calloc() out of the
  1068. standard, but now we are stuck with providing them.
  1069.  
  1070.      Bruce Perens
  1071.  
  1072. ------------------------------
  1073.  
  1074. Date: Mon, 22 Feb 1993 12:32:05 -0800 (PST)
  1075. From: Bruce Perens <bruce@pixar.com>
  1076. Subject: Stat - Hello wake up !
  1077. To: kz1f@legent.com
  1078.  
  1079. If you feel this way, you should really unsubscribe from the list.
  1080.  
  1081.      Bruce
  1082.  
  1083.  
  1084. On Fri, 19 Feb 1993 kz1f@RELAY.WESTBORO.LEGENT.COM wrote:
  1085.  
  1086. > There are times people really annoy me too Alan, and this is one of those 
  1087. > times. I too am getting really tired of this conversation and your ignorant 
  1088. > remarks, not only on stat() but OS's as well. As far as the stat issue goes, 
  1089. > I've been conspicuously silent of late on the subject. So, Alan, WAKE UP. Dont
  1090. > beat a dead horse. Frankly I really dont care what you think abt language 
  1091. > facilities, since you obviously dont have a good grasp on the subject. My 
  1092. > suggestion to Doug was sent thru the group because of routing requirements thru
  1093. > milnet, it was not intended to be a general discussion. The most pervasive 
  1094. > reason to not use stat is it doesnt work, atleast for Doug.  So, in closing, I
  1095. > would suggest that you and Bruce (and anyone else wanting to enter the fray)
  1096. > decide amongst yourselves who is to be the self appointed thought police and 
  1097. > label your msgs as such. That way the rest of us will have a better idea of 
  1098. > what to ignore. Have a nice day. Walt
  1099.  
  1100. ------------------------------
  1101.  
  1102. Date: (null)
  1103. From: (null)
  1104. Take it and enjoy. Thanks in advance for any report on
  1105. new bugs (not present in bm332b = caused by my modification).
  1106. 73's, JT
  1107.  
  1108. ------------------------------
  1109.  
  1110. End of TCP-Group Digest V93 #51
  1111. ******************************
  1112. ******************************
  1113.